<template>
  <div class="googlue flex banxin">
    <div class="item">
      <h4>签到得积分</h4>
      <div class="btn">去签到</div>
    </div>
    <div class="item">
      <h4>选购得鸡腿</h4>
      <div class="btn">去购课</div>
    </div>
    <div class="item">
      <h4>推荐得鸡腿</h4>
      <div class="btn">去推荐</div>
    </div>
    <div class="item">
      <h4>做任务得鸡腿</h4>
      <div class="btn">做任务</div>
    </div>
  </div>
</template>
 
<script>
export default {
  data() {
    return {};
  },
};
</script>
 
<style lang = "less" scoped>
.googlue {
  justify-content: space-between;
  margin-bottom: 47px;
  .item {
    &:nth-child(1) {
      background-image: url("../../assets/images/home/integral-01.png");
    }
    &:nth-child(2) {
      background-image: url("../../assets/images/home/integral-02.png");
    }
    &:nth-child(3) {
      background-image: url("../../assets/images/home/integral-03.png");
    }
    &:nth-child(4) {
      background-image: url("../../assets/images/home/integral-04.png");
    }
    width: 285px;
    height: 168px;
    background-color: pink;
    background-size: 100%;
    transition: 0.5s;
    h4 {
      font-size: 30px;
      font-family: SourceHanSansSC;
      font-weight: bold;
      color: #ffffff;
      line-height: 23px;
      margin-top: 43px;
      margin-left: 20px;
    }
    .btn {
      width: 96px;
      height: 27px;
      border: 1px solid #ffffff;
      color: #ffffff;
      margin-left: 21px;
      margin-top: 19px;
      text-align: center;
      line-height: 27px;
      cursor: pointer;
    }
    &:hover {
      background-size: 110%;
    }
  }
}
</style>